AOMedia AV1 Codec
aomcx.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2016, Alliance for Open Media. All rights reserved.
3 *
4 * This source code is subject to the terms of the BSD 2 Clause License and
5 * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
6 * was not distributed with this source code in the LICENSE file, you can
7 * obtain it at www.aomedia.org/license/software. If the Alliance for Open
8 * Media Patent License 1.0 was not distributed with this source code in the
9 * PATENTS file, you can obtain it at www.aomedia.org/license/patent.
10 */
11#ifndef AOM_AOM_AOMCX_H_
12#define AOM_AOM_AOMCX_H_
13
19#include "aom/aom.h"
20#include "aom/aom_encoder.h"
22
41#ifdef __cplusplus
42extern "C" {
43#endif
44
56
62/*
63 * Algorithm Flags
64 */
65
72#define AOM_EFLAG_NO_REF_LAST (1 << 16)
79#define AOM_EFLAG_NO_REF_LAST2 (1 << 17)
86#define AOM_EFLAG_NO_REF_LAST3 (1 << 18)
93#define AOM_EFLAG_NO_REF_GF (1 << 19)
94
101#define AOM_EFLAG_NO_REF_ARF (1 << 20)
108#define AOM_EFLAG_NO_REF_BWD (1 << 21)
115#define AOM_EFLAG_NO_REF_ARF2 (1 << 22)
116
122#define AOM_EFLAG_NO_UPD_LAST (1 << 23)
123
129#define AOM_EFLAG_NO_UPD_GF (1 << 24)
130
136#define AOM_EFLAG_NO_UPD_ARF (1 << 25)
142#define AOM_EFLAG_NO_UPD_ENTROPY (1 << 26)
148#define AOM_EFLAG_NO_REF_FRAME_MVS (1 << 27)
154#define AOM_EFLAG_ERROR_RESILIENT (1 << 28)
160#define AOM_EFLAG_SET_S_FRAME (1 << 29)
166#define AOM_EFLAG_SET_PRIMARY_REF_NONE (1 << 30)
167
181
186
191
192 /* NOTE: enum 10 unused */
193
198
203
221
229
230 /* NOTE: enum 15 unused */
231
248
253
254 /* NOTE: enum 18 unused */
255
262
270
275
280
281 /* NOTE: enum 23 unused */
282
289
299
313
322
336
350
351 /* NOTE: enum 30 unused */
352
364
372
391
409
419
428
442
453
464
479
491
499
508
517
538
563
584
591
598
605
610
617
624
647
654
662
670
682
692
699
709
719
730
743
755
767
779
791
792 /* NOTE: enum 69 unused */
793
801
812
813 /* NOTE: enum 72 unused */
814
822
830
838
849
860
868
877
888
912
924
936
947
958
966
974
982
990
998
1006
1014
1022
1030
1040
1050
1063
1071
1082
1090
1100
1108
1118
1121
1125
1129
1149
1157
1167
1178
1184
1191
1196
1199
1202
1205
1208
1211
1214
1217
1221
1224
1231
1238
1242
1252
1262
1272
1280
1287
1288 /* NOTE: enums 145-149 unused */
1289
1294
1299
1304
1309
1319
1330
1337
1342
1346
1347 /*\brief Control to set encoding the denoised frame from denoise-noise-level
1348 *
1349 * - 0 = disabled/encode the original frame
1350 * - 1 = enabled/encode the denoised frame (default)
1351 */
1352 AV1E_SET_ENABLE_DNL_DENOISING = 140,
1353
1365
1375
1380
1386
1394
1404
1409
1415
1424
1429
1436
1444
1452
1463
1472
1477
1488
1499
1507
1519
1531
1537
1545
1552
1558
1566
1573
1582
1588
1593
1602
1603 // Any new encoder control IDs should be added above.
1604 // Maximum allowed encoder control ID is 229.
1605 // No encoder control ID should be added below.
1606};
1607
1613 AOME_NORMAL = 0,
1614 AOME_FOURFIVE = 1,
1615 AOME_THREEFIVE = 2,
1616 AOME_THREEFOUR = 3,
1617 AOME_ONEFOUR = 4,
1618 AOME_ONEEIGHT = 5,
1619 AOME_ONETWO = 6,
1620 AOME_TWOTHREE = 7,
1621 AOME_ONETHREE = 8
1623
1631#define AOM_MAX_SEGMENTS 8
1632
1652
1659typedef struct aom_active_map {
1661 unsigned char *active_map;
1662 unsigned int rows;
1663 unsigned int cols;
1665
1675
1677typedef enum {
1678 AOM_CONTENT_DEFAULT,
1679 AOM_CONTENT_SCREEN,
1680 AOM_CONTENT_FILM,
1681 AOM_CONTENT_INVALID
1683
1691
1693typedef enum {
1694 AOM_TIMING_UNSPECIFIED,
1695 AOM_TIMING_EQUAL,
1696 AOM_TIMING_DEC_MODEL
1698
1717typedef enum {
1718 AOM_TUNE_PSNR = 0,
1719 AOM_TUNE_SSIM = 1,
1720 /* NOTE: enums 2 and 3 unused */
1721 AOM_TUNE_VMAF_WITH_PREPROCESSING = 4,
1722 AOM_TUNE_VMAF_WITHOUT_PREPROCESSING = 5,
1723 AOM_TUNE_VMAF_MAX_GAIN = 6,
1724 AOM_TUNE_VMAF_NEG_MAX_GAIN = 7,
1725 AOM_TUNE_BUTTERAUGLI = 8,
1726 AOM_TUNE_VMAF_SALIENCY_MAP = 9,
1728#define AOM_HAVE_TUNE_IQ 1
1729 /* Image quality (or intra quality). Increases image quality and consistency,
1730 * guided by the SSIMULACRA 2 metric and subjective quality checks. Shares
1731 * the rdmult code with AOM_TUNE_SSIM.
1732 */
1733 AOM_TUNE_IQ = 10,
1736#define AOM_HAVE_TUNE_SSIMULACRA2 1
1737 /* Tune that optimizes for maximum SSIMULACRA 2 scores. Shares the rdmult code
1738 with AOM_TUNE_SSIM. */
1739 AOM_TUNE_SSIMULACRA2 = 11,
1741
1750typedef enum {
1751 // Use PSNR for in-block rate-distortion optimization.
1752 AOM_DIST_METRIC_PSNR,
1753 // Use quantization matrix-weighted PSNR for in-block rate-distortion
1754 // optimization. If --enable-qm=1 is not specified, this falls back to
1755 // behaving in the same way as AOM_DIST_METRIC_PSNR.
1756 AOM_DIST_METRIC_QM_PSNR,
1758
1759#define AOM_MAX_LAYERS 32
1760#define AOM_MAX_SS_LAYERS 4
1761#define AOM_MAX_TS_LAYERS 8
1768
1799
1802 // Three arrays need to be set: reference[], ref_id[], refresh[].
1803 // reference[i]: is a boolean flag to indicate which of the 7 possible
1804 // references are used for prediction. Values are 0 (not used as reference)
1805 // or 1 (use as reference). The index 0 - 6 refers to the references:
1806 // last(0), last2(1), last3(2), golden(3), bwdref(4), altref2(5), altref(6).
1807 // ref_idx[i]: maps a reference to one of the 8 buffers slots, values are
1808 // 0 - 7. The ref_idx for a unused reference (reference[i] = 1, and not used
1809 // for refresh, see below) can be set to the ref_idx of the first reference
1810 // used (usually LAST).
1811 // refresh[i] is a boolean flag to indicate if a buffer is updated/refreshed
1812 // with the current encoded frame. Values are 0 (no refresh) or 1 (refresh).
1813 // The refresh is done internally by looking at the ref_idx[j], for j = 0 - 6,
1814 // so to refresh a buffer slot (i) a reference must be mapped to that slot
1815 // (i = ref_idx[j]).
1816 // Examples for usage (for RTC encoding) are in: examples/svc_encoder_rtc.c.
1817 int reference[7];
1819 int ref_idx[7];
1820 int refresh[8];
1822
1825 // Use compound prediction for the ref_frame pairs GOLDEN_LAST (0),
1826 // LAST2_LAST (1), and ALTREF_LAST (2).
1829
1835
1849#define AOM_CTRL_AOME_USE_REFERENCE
1850
1852#define AOM_CTRL_AOME_SET_ROI_MAP
1853
1855#define AOM_CTRL_AOME_SET_ACTIVEMAP
1856
1858#define AOM_CTRL_AOME_SET_SCALEMODE
1859
1861#define AOM_CTRL_AOME_SET_SPATIAL_LAYER_ID
1862
1864#define AOM_CTRL_AOME_SET_CPUUSED
1865
1867#define AOM_CTRL_AOME_SET_ENABLEAUTOALTREF
1868
1870#define AOM_CTRL_AOME_SET_SHARPNESS
1871
1873#define AOM_CTRL_AOME_SET_STATIC_THRESHOLD
1874
1876#define AOM_CTRL_AOME_GET_LAST_QUANTIZER
1877
1879#define AOM_CTRL_AOME_GET_LAST_QUANTIZER_64
1880
1882#define AOM_CTRL_AOME_SET_ARNR_MAXFRAMES
1883
1885#define AOM_CTRL_AOME_SET_ARNR_STRENGTH
1886
1887AOM_CTRL_USE_TYPE(AOME_SET_TUNING, int) /* aom_tune_metric */
1888#define AOM_CTRL_AOME_SET_TUNING
1889
1891#define AOM_CTRL_AOME_SET_CQ_LEVEL
1892
1894#define AOM_CTRL_AOME_SET_MAX_INTRA_BITRATE_PCT
1895
1897#define AOM_CTRL_AOME_SET_NUMBER_SPATIAL_LAYERS
1898// TODO(aomedia:3231): Deprecated. Remove it.
1899#define AOME_CTRL_AOME_SET_NUMBER_SPATIAL_LAYERS
1900
1901AOM_CTRL_USE_TYPE(AOME_SET_MAX_INTER_BITRATE_PCT, unsigned int)
1902#define AOM_CTRL_AV1E_SET_MAX_INTER_BITRATE_PCT
1903// TODO(aomedia:3231): Deprecated. Remove it.
1904#define AOM_CTRL_AOME_SET_MAX_INTER_BITRATE_PCT
1905
1907#define AOM_CTRL_AV1E_SET_GF_CBR_BOOST_PCT
1908
1910#define AOM_CTRL_AV1E_SET_LOSSLESS
1911
1913#define AOM_CTRL_AV1E_SET_ROW_MT
1914
1916#define AOM_CTRL_AV1E_SET_TILE_COLUMNS
1917
1919#define AOM_CTRL_AV1E_SET_TILE_ROWS
1920
1922#define AOM_CTRL_AV1E_SET_ENABLE_TPL_MODEL
1923
1925#define AOM_CTRL_AV1E_SET_ENABLE_KEYFRAME_FILTERING
1926
1928#define AOM_CTRL_AV1E_SET_FRAME_PARALLEL_DECODING
1929
1931#define AOM_CTRL_AV1E_SET_ERROR_RESILIENT_MODE
1932
1934#define AOM_CTRL_AV1E_SET_S_FRAME_MODE
1935
1937#define AOM_CTRL_AV1E_SET_AQ_MODE
1938
1940#define AOM_CTRL_AV1E_SET_FRAME_PERIODIC_BOOST
1941
1943#define AOM_CTRL_AV1E_SET_NOISE_SENSITIVITY
1944
1945AOM_CTRL_USE_TYPE(AV1E_SET_TUNE_CONTENT, int) /* aom_tune_content */
1946#define AOM_CTRL_AV1E_SET_TUNE_CONTENT
1947
1949#define AOM_CTRL_AV1E_SET_CDF_UPDATE_MODE
1950
1952#define AOM_CTRL_AV1E_SET_COLOR_PRIMARIES
1953
1955#define AOM_CTRL_AV1E_SET_TRANSFER_CHARACTERISTICS
1956
1958#define AOM_CTRL_AV1E_SET_MATRIX_COEFFICIENTS
1959
1961#define AOM_CTRL_AV1E_SET_CHROMA_SAMPLE_POSITION
1962
1964#define AOM_CTRL_AV1E_SET_MIN_GF_INTERVAL
1965
1967#define AOM_CTRL_AV1E_SET_MAX_GF_INTERVAL
1968
1970#define AOM_CTRL_AV1E_GET_ACTIVEMAP
1971
1973#define AOM_CTRL_AV1E_SET_COLOR_RANGE
1974
1976#define AOM_CTRL_AV1E_SET_RENDER_SIZE
1977
1979#define AOM_CTRL_AV1E_SET_TARGET_SEQ_LEVEL_IDX
1980
1982#define AOM_CTRL_AV1E_GET_SEQ_LEVEL_IDX
1983
1985#define AOM_CTRL_AV1E_SET_SUPERBLOCK_SIZE
1986
1988#define AOM_CTRL_AOME_SET_ENABLEAUTOBWDREF
1989
1991#define AOM_CTRL_AV1E_SET_ENABLE_CDEF
1992
1994#define AOM_CTRL_AV1E_SET_ENABLE_RESTORATION
1995
1997#define AOM_CTRL_AV1E_SET_FORCE_VIDEO_MODE
1998
2000#define AOM_CTRL_AV1E_SET_ENABLE_OBMC
2001
2003#define AOM_CTRL_AV1E_SET_DISABLE_TRELLIS_QUANT
2004
2006#define AOM_CTRL_AV1E_SET_ENABLE_QM
2007
2008// TODO(aomedia:3231): Remove these two lines.
2009AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_DIST_8X8, unsigned int)
2010#define AOM_CTRL_AV1E_SET_ENABLE_DIST_8X8
2011
2013#define AOM_CTRL_AV1E_SET_QM_MIN
2014
2016#define AOM_CTRL_AV1E_SET_QM_MAX
2017
2018AOM_CTRL_USE_TYPE(AV1E_SET_QM_Y, unsigned int)
2019#define AOM_CTRL_AV1E_SET_QM_Y
2020
2021AOM_CTRL_USE_TYPE(AV1E_SET_QM_U, unsigned int)
2022#define AOM_CTRL_AV1E_SET_QM_U
2023
2024AOM_CTRL_USE_TYPE(AV1E_SET_QM_V, unsigned int)
2025#define AOM_CTRL_AV1E_SET_QM_V
2026
2028#define AOM_CTRL_AV1E_SET_NUM_TG
2029
2030AOM_CTRL_USE_TYPE(AV1E_SET_MTU, unsigned int)
2031#define AOM_CTRL_AV1E_SET_MTU
2032
2034#define AOM_CTRL_AV1E_SET_ENABLE_RECT_PARTITIONS
2035
2037#define AOM_CTRL_AV1E_SET_ENABLE_AB_PARTITIONS
2038
2040#define AOM_CTRL_AV1E_SET_ENABLE_1TO4_PARTITIONS
2041
2043#define AOM_CTRL_AV1E_SET_MIN_PARTITION_SIZE
2044
2046#define AOM_CTRL_AV1E_SET_MAX_PARTITION_SIZE
2047
2049#define AOM_CTRL_AV1E_SET_ENABLE_INTRA_EDGE_FILTER
2050
2052#define AOM_CTRL_AV1E_SET_ENABLE_ORDER_HINT
2053
2055#define AOM_CTRL_AV1E_SET_ENABLE_TX64
2056
2058#define AOM_CTRL_AV1E_SET_ENABLE_FLIP_IDTX
2059
2061#define AOM_CTRL_AV1E_SET_ENABLE_RECT_TX
2062
2064#define AOM_CTRL_AV1E_SET_ENABLE_DIST_WTD_COMP
2065
2067#define AOM_CTRL_AV1E_SET_ENABLE_REF_FRAME_MVS
2068
2070#define AOM_CTRL_AV1E_SET_ALLOW_REF_FRAME_MVS
2071
2073#define AOM_CTRL_AV1E_SET_ENABLE_DUAL_FILTER
2074
2076#define AOM_CTRL_AV1E_SET_ENABLE_CHROMA_DELTAQ
2077
2079#define AOM_CTRL_AV1E_SET_ENABLE_MASKED_COMP
2080
2082#define AOM_CTRL_AV1E_SET_ENABLE_ONESIDED_COMP
2083
2085#define AOM_CTRL_AV1E_SET_ENABLE_INTERINTRA_COMP
2086
2088#define AOM_CTRL_AV1E_SET_ENABLE_SMOOTH_INTERINTRA
2089
2091#define AOM_CTRL_AV1E_SET_ENABLE_DIFF_WTD_COMP
2092
2094#define AOM_CTRL_AV1E_SET_ENABLE_INTERINTER_WEDGE
2095
2097#define AOM_CTRL_AV1E_SET_ENABLE_INTERINTRA_WEDGE
2098
2100#define AOM_CTRL_AV1E_SET_ENABLE_GLOBAL_MOTION
2101
2103#define AOM_CTRL_AV1E_SET_ENABLE_WARPED_MOTION
2104
2106#define AOM_CTRL_AV1E_SET_ALLOW_WARPED_MOTION
2107
2109#define AOM_CTRL_AV1E_SET_ENABLE_FILTER_INTRA
2110
2112#define AOM_CTRL_AV1E_SET_ENABLE_SMOOTH_INTRA
2113
2115#define AOM_CTRL_AV1E_SET_ENABLE_PAETH_INTRA
2116
2118#define AOM_CTRL_AV1E_SET_ENABLE_CFL_INTRA
2119
2121#define AOM_CTRL_AV1E_SET_ENABLE_SUPERRES
2122
2124#define AOM_CTRL_AV1E_SET_ENABLE_OVERLAY
2125
2127#define AOM_CTRL_AV1E_SET_ENABLE_PALETTE
2128
2130#define AOM_CTRL_AV1E_SET_ENABLE_INTRABC
2131
2133#define AOM_CTRL_AV1E_SET_ENABLE_ANGLE_DELTA
2134
2136#define AOM_CTRL_AV1E_SET_DELTAQ_MODE
2137
2139#define AOM_CTRL_AV1E_SET_DELTALF_MODE
2140
2142#define AOM_CTRL_AV1E_SET_SINGLE_TILE_DECODING
2143
2145#define AOM_CTRL_AV1E_ENABLE_MOTION_VECTOR_UNIT_TEST
2146
2147AOM_CTRL_USE_TYPE(AV1E_SET_TIMING_INFO_TYPE, int) /* aom_timing_info_type_t */
2148#define AOM_CTRL_AV1E_SET_TIMING_INFO_TYPE
2149
2151#define AOM_CTRL_AV1E_SET_FILM_GRAIN_TEST_VECTOR
2152
2154#define AOM_CTRL_AV1E_SET_FILM_GRAIN_TABLE
2155
2157#define AOM_CTRL_AV1E_SET_DENOISE_NOISE_LEVEL
2158
2160#define AOM_CTRL_AV1E_SET_DENOISE_BLOCK_SIZE
2161
2163#define AOM_CTRL_AV1E_SET_CHROMA_SUBSAMPLING_X
2164
2166#define AOM_CTRL_AV1E_SET_CHROMA_SUBSAMPLING_Y
2167
2169#define AOM_CTRL_AV1E_SET_REDUCED_TX_TYPE_SET
2170
2172#define AOM_CTRL_AV1E_SET_INTRA_DCT_ONLY
2173
2175#define AOM_CTRL_AV1E_SET_INTER_DCT_ONLY
2176
2178#define AOM_CTRL_AV1E_SET_INTRA_DEFAULT_TX_ONLY
2179
2181#define AOM_CTRL_AV1E_SET_QUANT_B_ADAPT
2182
2184#define AOM_CTRL_AV1E_SET_GF_MAX_PYRAMID_HEIGHT
2185
2187#define AOM_CTRL_AV1E_SET_MAX_REFERENCE_FRAMES
2188
2190#define AOM_CTRL_AV1E_SET_REDUCED_REFERENCE_SET
2191
2193#define AOM_CTRL_AV1E_SET_COEFF_COST_UPD_FREQ
2194
2196#define AOM_CTRL_AV1E_SET_MODE_COST_UPD_FREQ
2197
2199#define AOM_CTRL_AV1E_SET_MV_COST_UPD_FREQ
2200
2202#define AOM_CTRL_AV1E_SET_TIER_MASK
2203
2205#define AOM_CTRL_AV1E_SET_MIN_CR
2206
2208#define AOM_CTRL_AV1E_SET_SVC_LAYER_ID
2209// TODO(aomedia:3231): Deprecated. Remove it.
2210#define AOME_CTRL_AV1E_SET_SVC_LAYER_ID
2211
2213#define AOM_CTRL_AV1E_SET_SVC_PARAMS
2214// TODO(aomedia:3231): Deprecated. Remove it.
2215#define AOME_CTRL_AV1E_SET_SVC_PARAMS
2216
2218#define AOM_CTRL_AV1E_SET_SVC_REF_FRAME_CONFIG
2219// TODO(aomedia:3231): Deprecated. Remove it.
2220#define AOME_CTRL_AV1E_SET_SVC_REF_FRAME_CONFIG
2221
2223#define AOM_CTRL_AV1E_SET_VMAF_MODEL_PATH
2224
2226#define AOM_CTRL_AV1E_ENABLE_EXT_TILE_DEBUG
2227
2229#define AOM_CTRL_AV1E_ENABLE_SB_MULTIPASS_UNIT_TEST
2230
2232#define AOM_CTRL_AV1E_SET_GF_MIN_PYRAMID_HEIGHT
2233
2235#define AOM_CTRL_AV1E_SET_VBR_CORPUS_COMPLEXITY_LAP
2236
2238#define AOM_CTRL_AV1E_GET_BASELINE_GF_INTERVAL
2239
2240AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_DNL_DENOISING, int)
2241#define AOM_CTRL_AV1E_SET_ENABLE_DNL_DENOISING
2242
2244#define AOM_CTRL_AV1E_SET_ENABLE_DIAGONAL_INTRA
2245
2247#define AOM_CTRL_AV1E_SET_DV_COST_UPD_FREQ
2248
2250#define AOM_CTRL_AV1E_SET_PARTITION_INFO_PATH
2251
2253#define AOM_CTRL_AV1E_SET_EXTERNAL_PARTITION
2254
2256#define AOM_CTRL_AV1E_SET_ENABLE_DIRECTIONAL_INTRA
2257
2259#define AOM_CTRL_AV1E_SET_ENABLE_TX_SIZE_SEARCH
2260
2263#define AOM_CTRL_AV1E_SET_SVC_REF_FRAME_COMP_PRED
2264// TODO(aomedia:3231): Deprecated. Remove it.
2265#define AOME_CTRL_AV1E_SET_SVC_REF_FRAME_COMP_PRED
2266
2268#define AOM_CTRL_AV1E_SET_DELTAQ_STRENGTH
2269
2271#define AOM_CTRL_AV1E_SET_LOOPFILTER_CONTROL
2272
2274#define AOM_CTRL_AOME_GET_LOOPFILTER_LEVEL
2275
2277#define AOM_CTRL_AV1E_SET_AUTO_INTRA_TOOLS_OFF
2278
2280#define AOM_CTRL_AV1E_SET_RTC_EXTERNAL_RC
2281
2282AOM_CTRL_USE_TYPE(AV1E_SET_FP_MT, unsigned int)
2283#define AOM_CTRL_AV1E_SET_FP_MT
2284
2286#define AOM_CTRL_AV1E_SET_FP_MT_UNIT_TEST
2287
2289#define AOM_CTRL_AV1E_GET_TARGET_SEQ_LEVEL_IDX
2290
2292#define AOM_CTRL_AV1E_GET_NUM_OPERATING_POINTS
2293
2295#define AOM_CTRL_AV1E_SET_SKIP_POSTPROC_FILTERING
2296
2298#define AOM_CTRL_AV1E_ENABLE_SB_QP_SWEEP
2299
2301#define AOM_CTRL_AV1E_SET_QUANTIZER_ONE_PASS
2302
2304#define AOM_CTRL_AV1E_ENABLE_RATE_GUIDE_DELTAQ
2305
2307#define AOM_CTRL_AV1E_SET_RATE_DISTRIBUTION_INFO
2308
2310#define AOM_CTRL_AV1E_GET_LUMA_CDEF_STRENGTH
2311
2313#define AOM_CTRL_AV1E_SET_BITRATE_ONE_PASS_CBR
2314
2316#define AOM_CTRL_AV1E_SET_SVC_FRAME_DROP_MODE
2317
2319#define AOM_CTRL_AV1E_SET_MAX_CONSEC_FRAME_DROP_CBR
2320
2322#define AOM_CTRL_AV1E_SET_AUTO_TILES
2323
2325#define AOM_CTRL_AV1E_GET_HIGH_MOTION_CONTENT_SCREEN_RTC
2326
2328#define AOM_CTRL_AV1E_SET_POSTENCODE_DROP_RTC
2329
2331#define AOM_CTRL_AV1E_SET_MAX_CONSEC_FRAME_DROP_MS_CBR
2332
2334#define AOM_CTRL_AV1E_SET_ENABLE_LOW_COMPLEXITY_DECODE
2335
2337 int) /* aom_screen_detection_mode */
2338#define AOM_CTRL_SET_SCREEN_CONTENT_DETECTION_MODE
2339
2342#ifdef __cplusplus
2343} // extern "C"
2344#endif
2345
2346#endif // AOM_AOM_AOMCX_H_
Provides controls common to both the AOM encoder and decoder.
Describes the encoder algorithm interface to applications.
Provides function pointer definitions for the external partition.
AOM_SVC_FRAME_DROP_MODE
Frame drop modes for spatial/quality layer SVC.
Definition aomcx.h:1831
aom_dist_metric
Distortion metric to use for RD optimization.
Definition aomcx.h:1750
aom_codec_iface_t aom_codec_av1_cx_algo
A single instance of the AV1 encoder.
aom_scaling_mode_1d
aom 1-D scaling mode
Definition aomcx.h:1612
#define AOM_MAX_LAYERS
Definition aomcx.h:1759
struct aom_svc_params aom_svc_params_t
Parameter type for SVC.
#define AOM_MAX_SEGMENTS
Max number of segments.
Definition aomcx.h:1631
#define AOM_MAX_TS_LAYERS
Definition aomcx.h:1761
aom_codec_iface_t * aom_codec_av1_cx(void)
The interface to the AV1 encoder.
aom_tune_content
AV1 encoder content type.
Definition aomcx.h:1677
struct aom_scaling_mode aom_scaling_mode_t
aom image scaling mode
enum aom_scaling_mode_1d AOM_SCALING_MODE
aom 1-D scaling mode
#define AOM_MAX_SS_LAYERS
Definition aomcx.h:1760
aom_tune_metric
Model tuning parameters.
Definition aomcx.h:1717
struct aom_roi_map aom_roi_map_t
aom region of interest map
aom_screen_detection_mode
Screen content detection mode.
Definition aomcx.h:1685
struct aom_svc_layer_id aom_svc_layer_id_t
Struct for spatial and temporal layer ID.
aom_timing_info_type_t
AV1 encoder timing info type signaling.
Definition aomcx.h:1693
struct aom_active_map aom_active_map_t
aom active region map
struct aom_svc_ref_frame_comp_pred aom_svc_ref_frame_comp_pred_t
Parameters for setting ref frame compound prediction.
aome_enc_control_id
AVx encoder control functions.
Definition aomcx.h:176
struct aom_svc_ref_frame_config aom_svc_ref_frame_config_t
Parameters for setting ref frame config.
@ AOM_FULL_SUPERFRAME_DROP
Definition aomcx.h:1833
@ AOM_LAYER_DROP
Definition aomcx.h:1832
@ AOM_SCREEN_DETECTION_STANDARD
Definition aomcx.h:1687
@ AOM_SCREEN_DETECTION_ANTIALIASING_AWARE
Definition aomcx.h:1689
@ AV1E_SET_MATRIX_COEFFICIENTS
Codec control function to set transfer function info, int parameter.
Definition aomcx.h:583
@ AV1E_SET_ENABLE_INTERINTER_WEDGE
Codec control function to turn on / off interinter wedge compound, int parameter.
Definition aomcx.h:1021
@ AV1E_SET_ENABLE_DIAGONAL_INTRA
Codec control function to turn on / off D45 to D203 intra mode usage, int parameter.
Definition aomcx.h:1364
@ AV1E_SET_BITRATE_ONE_PASS_CBR
Codec control to set the target bitrate in kilobits per second, unsigned int parameter....
Definition aomcx.h:1544
@ AV1E_SET_MAX_GF_INTERVAL
Codec control function to set minimum interval between GF/ARF frames, unsigned int parameter.
Definition aomcx.h:604
@ AV1E_SET_ROW_MT
Codec control function to enable the row based multi-threading of the encoder, unsigned int parameter...
Definition aomcx.h:371
@ AV1E_SET_ENABLE_SMOOTH_INTRA
Codec control function to turn on / off smooth intra modes usage, int parameter.
Definition aomcx.h:1081
@ AV1E_ENABLE_MOTION_VECTOR_UNIT_TEST
Codec control function to enable the extreme motion vector unit test, unsigned int parameter.
Definition aomcx.h:1177
@ AOME_SET_SHARPNESS
Codec control function to set the sharpness parameter, unsigned int parameter.
Definition aomcx.h:247
@ AV1E_GET_TARGET_SEQ_LEVEL_IDX
Codec control function to get the target sequence level index for each operating point....
Definition aomcx.h:1471
@ AV1E_SET_RATE_DISTRIBUTION_INFO
Codec control to set the input file for rate distribution used in all intra mode, const char * parame...
Definition aomcx.h:1530
@ AV1E_SET_ENABLE_TPL_MODEL
Codec control function to enable RDO modulated by frame temporal dependency, unsigned int parameter.
Definition aomcx.h:418
@ AOME_GET_LAST_QUANTIZER_64
Codec control function to get last quantizer chosen by the encoder, int* parameter.
Definition aomcx.h:269
@ AV1E_SET_AQ_MODE
Codec control function to set adaptive quantization mode, unsigned int parameter.
Definition aomcx.h:478
@ AV1E_SET_REDUCED_REFERENCE_SET
Control to use reduced set of single and compound references, int parameter.
Definition aomcx.h:1241
@ AV1E_GET_NUM_OPERATING_POINTS
Codec control function to get the number of operating points. int* parameter.
Definition aomcx.h:1476
@ AV1E_SET_SVC_LAYER_ID
Codec control function to set the layer id, aom_svc_layer_id_t* parameter.
Definition aomcx.h:1293
@ AOME_USE_REFERENCE
Codec control function to set which reference frame encoder can use, int parameter.
Definition aomcx.h:180
@ AV1E_SET_SVC_REF_FRAME_CONFIG
Codec control function to set the reference frame config, aom_svc_ref_frame_config_t* parameter.
Definition aomcx.h:1303
@ AV1E_SET_GF_MIN_PYRAMID_HEIGHT
Control to select minimum height for the GF group pyramid structure, unsigned int parameter.
Definition aomcx.h:1336
@ AV1E_SET_ENABLE_PAETH_INTRA
Codec control function to turn on / off Paeth intra mode usage, int parameter.
Definition aomcx.h:1089
@ AV1E_SET_TUNE_CONTENT
Codec control function to set content type, aom_tune_content parameter.
Definition aomcx.h:507
@ AOME_SET_ROI_MAP
Codec control function to pass an ROI map to encoder, aom_roi_map_t* parameter.
Definition aomcx.h:185
@ AV1E_SET_CDF_UPDATE_MODE
Codec control function to set CDF update mode, unsigned int parameter.
Definition aomcx.h:516
@ AV1E_SET_SCREEN_CONTENT_DETECTION_MODE
Codec control to set the screen content detection mode, aom_screen_detection_mode parameter.
Definition aomcx.h:1601
@ AV1E_SET_MAX_CONSEC_FRAME_DROP_CBR
Codec control to set the maximum number of consecutive frame drops, in units of frames,...
Definition aomcx.h:1551
@ AV1E_SET_CHROMA_SUBSAMPLING_X
Sets the chroma subsampling x value, unsigned int parameter.
Definition aomcx.h:1204
@ AV1E_SET_COLOR_RANGE
Codec control function to set color range bit, int parameter.
Definition aomcx.h:616
@ AV1E_SET_ENABLE_RESTORATION
Codec control function to encode with Loop Restoration Filter, unsigned int parameter.
Definition aomcx.h:691
@ AV1E_SET_ENABLE_ANGLE_DELTA
Codec control function to turn on/off intra angle delta, int parameter.
Definition aomcx.h:1128
@ AV1E_SET_MIN_GF_INTERVAL
Codec control function to set minimum interval between GF/ARF frames, unsigned int parameter.
Definition aomcx.h:597
@ AOME_SET_ARNR_MAXFRAMES
Codec control function to set the max no of frames to create arf, unsigned int parameter.
Definition aomcx.h:274
@ AV1E_SET_MV_COST_UPD_FREQ
Control to set frequency of the cost updates for motion vectors, unsigned int parameter.
Definition aomcx.h:1271
@ AV1E_SET_INTRA_DEFAULT_TX_ONLY
Control to use default tx type only for intra modes, int parameter.
Definition aomcx.h:1220
@ AV1E_SET_TRANSFER_CHARACTERISTICS
Codec control function to set transfer function info, int parameter.
Definition aomcx.h:562
@ AV1E_SET_MTU
Codec control function to set an MTU size for a tile group, unsigned int parameter.
Definition aomcx.h:811
@ AV1E_SET_DISABLE_TRELLIS_QUANT
Codec control function to encode without trellis quantization, unsigned int parameter.
Definition aomcx.h:718
@ AV1E_SET_SVC_REF_FRAME_COMP_PRED
Codec control function to set reference frame compound prediction. aom_svc_ref_frame_comp_pred_t* par...
Definition aomcx.h:1408
@ AV1E_SET_FP_MT_UNIT_TEST
Codec control to enable actual frame parallel encode or simulation of frame parallel encode in FPMT u...
Definition aomcx.h:1462
@ AV1E_SET_ENABLE_INTRABC
Codec control function to turn on/off intra block copy mode, int parameter.
Definition aomcx.h:1124
@ AV1E_SET_S_FRAME_MODE
Codec control function to enable s_frame_mode, int parameter.
Definition aomcx.h:463
@ AV1E_SET_ENABLE_AB_PARTITIONS
Codec control function to enable/disable AB partitions, int parameter.
Definition aomcx.h:829
@ AV1E_SET_ENABLE_INTERINTRA_COMP
Codec control function to turn on / off interintra compound for a sequence, int parameter.
Definition aomcx.h:997
@ AV1E_SET_FILM_GRAIN_TEST_VECTOR
Codec control function to add film grain parameters (one of several preset types) info in the bitstre...
Definition aomcx.h:1190
@ AV1E_SET_ENABLE_CHROMA_DELTAQ
Codec control function to turn on / off delta quantization in chroma planes for a sequence,...
Definition aomcx.h:973
@ AV1E_SET_ENABLE_DUAL_FILTER
Codec control function to turn on / off dual interpolation filter for a sequence, int parameter.
Definition aomcx.h:965
@ AV1E_SET_QM_V
Codec control function to set the min quant matrix flatness, unsigned int parameter.
Definition aomcx.h:790
@ AV1E_SET_FRAME_PARALLEL_DECODING
Codec control function to enable frame parallel decoding feature, unsigned int parameter.
Definition aomcx.h:441
@ AV1E_GET_LUMA_CDEF_STRENGTH
Codec control to get the CDEF strength for Y / luma plane, int * parameter. Returns an integer array ...
Definition aomcx.h:1536
@ AV1E_SET_QM_Y
Codec control function to set the min quant matrix flatness, unsigned int parameter.
Definition aomcx.h:766
@ AV1E_SET_MIN_PARTITION_SIZE
Codec control function to set min partition size, int parameter.
Definition aomcx.h:848
@ AV1E_SET_ENABLE_WARPED_MOTION
Codec control function to turn on / off warped motion usage at sequence level, int parameter.
Definition aomcx.h:1049
@ AV1E_SET_RTC_EXTERNAL_RC
Codec control function to set flag for rate control used by external encoders.
Definition aomcx.h:1443
@ AV1E_SET_FORCE_VIDEO_MODE
Codec control function to force video mode, unsigned int parameter.
Definition aomcx.h:698
@ AV1E_SET_CHROMA_SUBSAMPLING_Y
Sets the chroma subsampling y value, unsigned int parameter.
Definition aomcx.h:1207
@ AV1E_SET_ENABLE_INTRA_EDGE_FILTER
Codec control function to turn on / off intra edge filter at sequence level, int parameter.
Definition aomcx.h:867
@ AV1E_SET_COEFF_COST_UPD_FREQ
Control to set frequency of the cost updates for coefficients, unsigned int parameter.
Definition aomcx.h:1251
@ AV1E_SET_ENABLE_DIRECTIONAL_INTRA
Codec control function to turn on / off directional intra mode usage, int parameter.
Definition aomcx.h:1393
@ AV1E_SET_MAX_INTER_BITRATE_PCT
Codec control function to set max data rate for inter frames, unsigned int parameter.
Definition aomcx.h:335
@ AV1E_SET_DENOISE_NOISE_LEVEL
Sets the noise level, int parameter.
Definition aomcx.h:1198
@ AV1E_SET_INTRA_DCT_ONLY
Control to use dct only for intra modes, int parameter.
Definition aomcx.h:1213
@ AV1E_SET_TILE_ROWS
Codec control function to set number of tile rows, unsigned int parameter.
Definition aomcx.h:408
@ AV1E_SET_QM_U
Codec control function to set the min quant matrix flatness, unsigned int parameter.
Definition aomcx.h:778
@ AV1E_SET_ENABLE_REF_FRAME_MVS
Codec control function to turn on / off ref frame mvs (mfmv) usage at sequence level,...
Definition aomcx.h:946
@ AV1E_ENABLE_SB_QP_SWEEP
Codec control function to enable the superblock level qp sweep in AV1 to ensure that end-to-end test ...
Definition aomcx.h:1498
@ AV1E_SET_FP_MT
Codec control function to enable frame parallel multi-threading of the encoder, unsigned int paramete...
Definition aomcx.h:1451
@ AV1E_SET_ENABLE_MASKED_COMP
Codec control function to turn on / off masked compound usage (wedge and diff-wtd compound modes) for...
Definition aomcx.h:981
@ AV1E_GET_ACTIVEMAP
Codec control function to get an active map back from the encoder, aom_active_map_t* parameter.
Definition aomcx.h:609
@ AV1E_SET_VBR_CORPUS_COMPLEXITY_LAP
Control to set average complexity of the corpus in the case of single pass vbr based on LAP,...
Definition aomcx.h:1341
@ AV1E_SET_GF_MAX_PYRAMID_HEIGHT
Control to select maximum height for the GF group pyramid structure, unsigned int parameter.
Definition aomcx.h:1230
@ AV1E_SET_ENABLE_CDEF
Codec control function to encode with CDEF, unsigned int parameter.
Definition aomcx.h:681
@ AV1E_SET_ENABLE_FLIP_IDTX
Codec control function to turn on / off flip and identity transforms, int parameter.
Definition aomcx.h:911
@ AOME_SET_ACTIVEMAP
Codec control function to pass an Active map to encoder, aom_active_map_t* parameter.
Definition aomcx.h:190
@ AV1E_GET_SEQ_LEVEL_IDX
Codec control function to get sequence level index for each operating point. int* parameter....
Definition aomcx.h:653
@ AOME_GET_LOOPFILTER_LEVEL
Codec control function to get the loopfilter chosen by the encoder, int* parameter.
Definition aomcx.h:1428
@ AV1E_SET_FRAME_PERIODIC_BOOST
Codec control function to enable/disable periodic Q boost, unsigned int parameter.
Definition aomcx.h:490
@ AV1E_SET_DV_COST_UPD_FREQ
Control to set frequency of the cost updates for intrabc motion vectors, unsigned int parameter.
Definition aomcx.h:1374
@ AV1E_SET_SVC_FRAME_DROP_MODE
Codec control to set the frame drop mode for SVC, unsigned int parameter. The valid values are consta...
Definition aomcx.h:1557
@ AV1E_SET_AUTO_INTRA_TOOLS_OFF
Codec control to automatically turn off several intra coding tools, unsigned int parameter.
Definition aomcx.h:1435
@ AV1E_SET_RENDER_SIZE
Codec control function to set intended rendering image size, int32_t[2] parameter.
Definition aomcx.h:623
@ AV1E_SET_ALLOW_REF_FRAME_MVS
Codec control function to set temporal mv prediction enabling/disabling at frame level,...
Definition aomcx.h:957
@ AV1E_SET_ENABLE_RECT_TX
Codec control function to turn on / off rectangular transforms, int parameter.
Definition aomcx.h:923
@ AV1E_SET_ENABLE_DIST_WTD_COMP
Codec control function to turn on / off dist-wtd compound mode at sequence level, int parameter.
Definition aomcx.h:935
@ AV1E_SET_TIMING_INFO_TYPE
Codec control function to signal picture timing info in the bitstream, aom_timing_info_type_t paramet...
Definition aomcx.h:1183
@ AV1E_SET_ENABLE_SUPERRES
Codec control function to turn on / off frame superresolution, int parameter.
Definition aomcx.h:1107
@ AV1E_SET_SUPERBLOCK_SIZE
Codec control function to set intended superblock size, unsigned int parameter.
Definition aomcx.h:661
@ AV1E_SET_TIER_MASK
Control to set bit mask that specifies which tier each of the 32 possible operating points conforms t...
Definition aomcx.h:1279
@ AV1E_SET_ENABLE_INTERINTRA_WEDGE
Codec control function to turn on / off interintra wedge compound, int parameter.
Definition aomcx.h:1029
@ AV1E_SET_NOISE_SENSITIVITY
Codec control function to set noise sensitivity, unsigned int parameter.
Definition aomcx.h:498
@ AV1E_SET_SVC_PARAMS
Codec control function to set SVC parameters, aom_svc_params_t* parameter.
Definition aomcx.h:1298
@ AV1E_SET_ENABLE_DIFF_WTD_COMP
Codec control function to turn on / off difference weighted compound, int parameter.
Definition aomcx.h:1013
@ AV1E_SET_QUANT_B_ADAPT
Control to use adaptive quantize_b, int parameter.
Definition aomcx.h:1223
@ AV1E_SET_ENABLE_FILTER_INTRA
Codec control function to turn on / off filter intra usage at sequence level, int parameter.
Definition aomcx.h:1070
@ AV1E_SET_ENABLE_PALETTE
Codec control function to turn on/off palette mode, int parameter.
Definition aomcx.h:1120
@ AV1E_SET_ENABLE_CFL_INTRA
Codec control function to turn on / off CFL uv intra mode usage, int parameter.
Definition aomcx.h:1099
@ AV1E_SET_ENABLE_KEYFRAME_FILTERING
Codec control function to enable temporal filtering on key frame, unsigned int parameter.
Definition aomcx.h:427
@ AV1E_SET_NUM_TG
Codec control function to set a maximum number of tile groups, unsigned int parameter.
Definition aomcx.h:800
@ AV1E_GET_BASELINE_GF_INTERVAL
Control to get baseline gf interval.
Definition aomcx.h:1345
@ AOME_SET_MAX_INTRA_BITRATE_PCT
Codec control function to set max data rate for intra frames, unsigned int parameter.
Definition aomcx.h:312
@ AV1E_SET_ERROR_RESILIENT_MODE
Codec control function to enable error_resilient_mode, int parameter.
Definition aomcx.h:452
@ AV1E_SET_ENABLE_SMOOTH_INTERINTRA
Codec control function to turn on / off smooth inter-intra mode for a sequence, int parameter.
Definition aomcx.h:1005
@ AOME_SET_STATIC_THRESHOLD
Codec control function to set the threshold for MBs treated static, unsigned int parameter.
Definition aomcx.h:252
@ AV1E_SET_ENABLE_OBMC
Codec control function to predict with OBMC mode, unsigned int parameter.
Definition aomcx.h:708
@ AV1E_SET_PARTITION_INFO_PATH
Codec control to set the path for partition stats read and write. const char * parameter.
Definition aomcx.h:1379
@ AOME_SET_SPATIAL_LAYER_ID
Codec control function to set encoder spatial layer id, int parameter.
Definition aomcx.h:202
@ AV1E_SET_ENABLE_LOW_COMPLEXITY_DECODE
Codec control to enable the low complexity decode mode, unsigned int parameter. Value of zero means t...
Definition aomcx.h:1592
@ AV1E_SET_MAX_PARTITION_SIZE
Codec control function to set max partition size, int parameter.
Definition aomcx.h:859
@ AV1E_SET_ENABLE_1TO4_PARTITIONS
Codec control function to enable/disable 1:4 and 4:1 partitions, int parameter.
Definition aomcx.h:837
@ AV1E_SET_DELTALF_MODE
Codec control function to turn on/off loopfilter modulation when delta q modulation is enabled,...
Definition aomcx.h:1156
@ AV1E_SET_ENABLE_TX64
Codec control function to turn on / off 64-length transforms, int parameter.
Definition aomcx.h:887
@ AV1E_SET_AUTO_TILES
Codec control to set auto tiling, unsigned int parameter. Value of 1 means encoder will set number of...
Definition aomcx.h:1565
@ AOME_SET_TUNING
Codec control function to set visual tuning, aom_tune_metric (int) parameter.
Definition aomcx.h:288
@ AV1E_SET_TARGET_SEQ_LEVEL_IDX
Control to set target sequence level index for a certain operating point (OP), int parameter Possible...
Definition aomcx.h:646
@ AV1E_SET_CHROMA_SAMPLE_POSITION
Codec control function to set chroma 4:2:0 sample position info, aom_chroma_sample_position_t paramet...
Definition aomcx.h:590
@ AV1E_SET_REDUCED_TX_TYPE_SET
Control to use a reduced tx type set, int parameter.
Definition aomcx.h:1210
@ AV1E_SET_DELTAQ_STRENGTH
Set –deltaq-mode strength.
Definition aomcx.h:1414
@ AOME_SET_ENABLEAUTOBWDREF
Codec control function to enable automatic set and use of bwd-pred frames, unsigned int parameter.
Definition aomcx.h:669
@ AV1E_SET_INTER_DCT_ONLY
Control to use dct only for inter modes, int parameter.
Definition aomcx.h:1216
@ AV1E_SET_LOOPFILTER_CONTROL
Codec control to control loop filter.
Definition aomcx.h:1423
@ AOME_SET_ENABLEAUTOALTREF
Codec control function to enable automatic set and use alf frames, unsigned int parameter.
Definition aomcx.h:228
@ AOME_SET_SCALEMODE
Codec control function to set encoder scaling mode for the next frame to be coded,...
Definition aomcx.h:197
@ AV1E_ENABLE_RATE_GUIDE_DELTAQ
Codec control to enable the rate distribution guided delta quantization in all intra mode,...
Definition aomcx.h:1518
@ AOME_GET_LAST_QUANTIZER
Codec control function to get last quantizer chosen by the encoder, int* parameter.
Definition aomcx.h:261
@ AV1E_SET_TILE_COLUMNS
Codec control function to set number of tile columns. unsigned int parameter.
Definition aomcx.h:390
@ AV1E_SET_EXTERNAL_PARTITION
Codec control to use an external partition model A set of callback functions is passed through this c...
Definition aomcx.h:1385
@ AV1E_ENABLE_SB_MULTIPASS_UNIT_TEST
Codec control function to enable the superblock multipass unit test in AV1 to ensure that the encoder...
Definition aomcx.h:1329
@ AV1E_SET_ENABLE_ORDER_HINT
Codec control function to turn on / off frame order hint (int parameter). Affects: joint compound mod...
Definition aomcx.h:876
@ AV1E_SET_DELTAQ_MODE
Codec control function to set the delta q mode, unsigned int parameter.
Definition aomcx.h:1148
@ AV1E_SET_POSTENCODE_DROP_RTC
Codec control to enable post encode frame drop for RTC encoding, int parameter.
Definition aomcx.h:1581
@ AV1E_SET_ENABLE_GLOBAL_MOTION
Codec control function to turn on / off global motion usage for a sequence, int parameter.
Definition aomcx.h:1039
@ AV1E_SET_FILM_GRAIN_TABLE
Codec control function to set the path to the film grain parameters, const char* parameter.
Definition aomcx.h:1195
@ AV1E_SET_QM_MAX
Codec control function to set the max quant matrix flatness, unsigned int parameter.
Definition aomcx.h:754
@ AV1E_SET_MAX_REFERENCE_FRAMES
Control to select maximum reference frames allowed per frame, int parameter.
Definition aomcx.h:1237
@ AOME_SET_CPUUSED
Codec control function to set encoder internal speed settings, int parameter.
Definition aomcx.h:220
@ AV1E_GET_HIGH_MOTION_CONTENT_SCREEN_RTC
Codec control to get the high motion content flag, used for screen content realtime (RTC) encoding,...
Definition aomcx.h:1572
@ AV1E_SET_GF_CBR_BOOST_PCT
Boost percentage for Golden Frame in CBR mode, unsigned int parameter.
Definition aomcx.h:349
@ AV1E_SET_ENABLE_ONESIDED_COMP
Codec control function to turn on / off one sided compound usage for a sequence, int parameter.
Definition aomcx.h:989
@ AV1E_SET_DENOISE_BLOCK_SIZE
Sets the denoisers block size, unsigned int parameter.
Definition aomcx.h:1201
@ AV1E_SET_VMAF_MODEL_PATH
Codec control function to set the path to the VMAF model used when tuning the encoder for VMAF,...
Definition aomcx.h:1308
@ AV1E_SET_QM_MIN
Codec control function to set the min quant matrix flatness, unsigned int parameter.
Definition aomcx.h:742
@ AV1E_SET_ENABLE_QM
Codec control function to encode with quantisation matrices, unsigned int parameter.
Definition aomcx.h:729
@ AV1E_SET_ENABLE_OVERLAY
Codec control function to turn on / off overlay frames for filtered ALTREF frames,...
Definition aomcx.h:1117
@ AV1E_SET_SKIP_POSTPROC_FILTERING
Codec control function to skip the application of post-processing filters on reconstructed frame,...
Definition aomcx.h:1487
@ AOME_SET_NUMBER_SPATIAL_LAYERS
Codec control function to set number of spatial layers, int parameter.
Definition aomcx.h:321
@ AV1E_SET_SINGLE_TILE_DECODING
Codec control function to set the single tile decoding mode, unsigned int parameter.
Definition aomcx.h:1166
@ AV1E_SET_ENABLE_RECT_PARTITIONS
Codec control function to enable/disable rectangular partitions, int parameter.
Definition aomcx.h:821
@ AV1E_SET_COLOR_PRIMARIES
Codec control function to set color space info, int parameter.
Definition aomcx.h:537
@ AOME_SET_CQ_LEVEL
Codec control function to set constrained / constant quality level, unsigned int parameter.
Definition aomcx.h:298
@ AV1E_SET_QUANTIZER_ONE_PASS
Codec control to set quantizer for the next frame, int parameter.
Definition aomcx.h:1506
@ AV1E_SET_ENABLE_TX_SIZE_SEARCH
Control to turn on / off transform size search. Note: it can not work with non RD pick mode in real-t...
Definition aomcx.h:1403
@ AV1E_SET_MODE_COST_UPD_FREQ
Control to set frequency of the cost updates for mode, unsigned int parameter.
Definition aomcx.h:1261
@ AV1E_SET_ALLOW_WARPED_MOTION
Codec control function to turn on / off warped motion usage at frame level, int parameter.
Definition aomcx.h:1062
@ AV1E_ENABLE_EXT_TILE_DEBUG
Codec control function to enable EXT_TILE_DEBUG in AV1 encoder, unsigned int parameter.
Definition aomcx.h:1318
@ AV1E_SET_MAX_CONSEC_FRAME_DROP_MS_CBR
Codec control to set the maximum number of consecutive frame drops, in units of time (milliseconds),...
Definition aomcx.h:1587
@ AV1E_SET_MIN_CR
Control to set minimum compression ratio, unsigned int parameter Take integer values....
Definition aomcx.h:1286
@ AV1E_SET_LOSSLESS
Codec control function to set lossless encoding mode, unsigned int parameter.
Definition aomcx.h:363
@ AOME_SET_ARNR_STRENGTH
Codec control function to set the filter strength for the arf, unsigned int parameter.
Definition aomcx.h:279
#define AOM_CTRL_USE_TYPE(id, typ)
Creates type checking mechanisms for aom_codec_control.
Definition aom_codec.h:551
const struct aom_codec_iface aom_codec_iface_t
Codec interface structure.
Definition aom_codec.h:271
aom active region map
Definition aomcx.h:1659
unsigned int rows
Definition aomcx.h:1662
unsigned int cols
Definition aomcx.h:1663
unsigned char * active_map
specify an on (1) or off (0) each 16x16 region within a frame
Definition aomcx.h:1661
Callback function set for external partition model.
Definition aom_external_partition.h:410
aom region of interest map
Definition aomcx.h:1637
unsigned int cols
Definition aomcx.h:1643
int delta_lf[8]
Definition aomcx.h:1645
int reference_enabled
Definition aomcx.h:1649
int ref_frame[8]
Definition aomcx.h:1647
unsigned int rows
Definition aomcx.h:1642
unsigned char * roi_map
Definition aomcx.h:1641
int delta_qp_enabled
Definition aomcx.h:1648
int delta_q[8]
Definition aomcx.h:1644
uint8_t enabled
Definition aomcx.h:1639
int rdmult_delta_qp
Definition aomcx.h:1650
int skip[8]
Definition aomcx.h:1646
aom image scaling mode
Definition aomcx.h:1671
AOM_SCALING_MODE v_scaling_mode
Definition aomcx.h:1673
AOM_SCALING_MODE h_scaling_mode
Definition aomcx.h:1672
Struct for spatial and temporal layer ID.
Definition aomcx.h:1764
int temporal_layer_id
Definition aomcx.h:1766
int spatial_layer_id
Definition aomcx.h:1765
Parameter type for SVC.
Definition aomcx.h:1775
int max_quantizers[32]
Definition aomcx.h:1790
int number_spatial_layers
Definition aomcx.h:1782
int layer_target_bitrate[32]
Definition aomcx.h:1795
int framerate_factor[8]
Definition aomcx.h:1797
int min_quantizers[32]
Definition aomcx.h:1791
int scaling_factor_den[4]
Definition aomcx.h:1793
int number_temporal_layers
Definition aomcx.h:1789
int scaling_factor_num[4]
Definition aomcx.h:1792
Parameters for setting ref frame compound prediction.
Definition aomcx.h:1824
int use_comp_pred[3]
Definition aomcx.h:1827
Parameters for setting ref frame config.
Definition aomcx.h:1801
int reference[7]
Definition aomcx.h:1817
int refresh[8]
Definition aomcx.h:1820
int ref_idx[7]
Definition aomcx.h:1819